package com.hopu.mapper;

import com.hopu.domain.ContractC;
import com.hopu.domain.ContractCExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ContractCMapper {

    int deleteByPrimaryKey(String contractId);

    int insert(ContractC record);

    List<ContractC> selectByExample(ContractCExample example);

    ContractC selectByPrimaryKey(String contractId);

    int updateByPrimaryKey(ContractC record);

    void state(@Param("map") Map<String, Object> map);

    List<ContractC> selectBystate(Integer state);

}